package com.company.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.entity.CommonUserEntity;
import com.company.project.vo.resp.CommonUserWithAreaDTO;

/**
 * 
 *
 * @author ls
 * @email *****@mail.com
 * @date 2021-02-02 20:27:58
 */
public interface CommonUserService extends IService<CommonUserEntity> {

	/**
     * 添加公共用户
     *
     * @param entity
     */
    void addCommonUser(CommonUserEntity entity);
    
    @SuppressWarnings("rawtypes")
	IPage<CommonUserWithAreaDTO> getList(Page page,String startTime,String endTime, String area);
	
	@SuppressWarnings("rawtypes")
	IPage<CommonUserWithAreaDTO> getListLastDay(Page page,String startTime,String endTime, String area);
}

